<html>
<head><title>Persons</title></head>

<body>
{% include 'top.html' %}

<h1>Persons</h1>

<p>List of persons:</p>

<p/>

<form action="/del-person/" method="post">
{% for item in item_list %}
    <br/><input type="checkbox" name="checkbox" value="{{ item.id }}"/> {{ item.first_name }} : {{ item.family_name }}
    <a href="/edit-person/{{ item.id }}/">Edit</a>
{% endfor %}

<p/>
<input type="submit" name="Del" value="Delete"/>
<br/>

</form>


<button onclick="window.location='{{ redirect }}'">New person</button>

<hr/>

</body>
</html>
